#! usr/bin/python3
# coding=utf-8
# @Time: 2025/9/20 
# @Author: GaoSheng
import pytest

from base.constance import Domain
from client_core.ClientCommon import ClientCommon


@pytest.fixture(scope="session")
def client():
    yield ClientCommon(Domain.base_url)


@pytest.fixture(autouse=True)
def init_client(client):
    client.token = client.get_access_token()
